{extend name="common:base" /}

{block name="css"}
{/block}

{block name="content"}
<section class="w-all p-t-20 p-b-20 bg-c-eee overfhide">
    <ul class="container subnav subnav3">
        {foreach($categoryList as $v)}
        <li>
            <a href="?category_id={$v.id}" {if($currCategoryId == $v['id'])}class="cur"{/if}>
                <h2>{$v.title}</h2>
                <span>{$v.title_en}</span>
            </a>
        </li>
        {/foreach}
    </ul>
</section>
<section class="container overfhide">
    <ul class="w-sall crumbs">
        当前位置：<a href="/">首页</a>&gt;<a href="/article">新闻动态</a>
    </ul>
    <div class="container">
        <ul class="newslist rc_line bg-ps-lt overfhide" id="newslist">
            {foreach($list.data as $v)}
            <li>
                <a href="/article/detail/{$v.id}" class="newsimg">
                    <img src="{$v.cover}" width="230" height="173" />
                </a>
                <div class="newstxt">
                    <h2><a href="/article/detail/{$v.id}">{$v.title}</a><span>{$v.create_time}</span></h2>
                    <p>{$v.content}</p>
                    <a href="/article/detail/{$v.id}" class="more">MORE</a>
                </div>
            </li>
            {/foreach}
        </ul>
        <div class="page-tt">

        </div>
    </div>
</section>
{/block}

{block name="js"}


<script>
    page('.page-tt','{$list.current_page}','{$list.per_page}','{$list.total}');
</script>

{/block}